package org.apache.zookeeper.server;

import org.apache.zookeeper.ZooKeeperThread;
import org.apache.zookeeper.server.quorum.QuorumStats;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.security.sasl.SaslException;

public class QuorumPeer extends ZooKeeperThread implements QuorumStats.Provider {
    private static final Logger LOG= LoggerFactory.getLogger(QuorumPeer.class);
    public static final String CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES = "zookeeper.kerberos.canonicalizeHostNames";
    public static final String CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES = "false";
    public QuorumPeer(String threadName) {
        super(threadName);
    }
    public QuorumPeer()throws SaslException{
        super("QuorumPeer");
        QuorumStats quorumStats = new QuorumStats(this);

    }
    public static class QuorumServer{

    }

    @Override
    public String[] getQuorumPeers() {
        return new String[0];
    }

    @Override
    public String getServerState() {
        return null;
    }
}
